Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633462 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/96 - Pomodoro Clock

styles.css cody/swapnilsparsh/30DaysOfJavaScript/96 - Pomodoro Clock/styles.css
112 Views
0 Comments
body {
background: #EAC289;
font-family: Consolas;
}

.base {
background: rgba(0, 0, 0, 0.7);
border-radius: 5px;
index.html cody/swapnilsparsh/30DaysOfJavaScript/96 - Pomodoro Clock/index.html
322 Views
0 Comments
<!DOCTYPE html>
<html>
<head>
<title>Pomodoro Clock</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="./styles.css">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="ano
script.js cody/swapnilsparsh/30DaysOfJavaScript/96 - Pomodoro Clock/script.js
181 Views
0 Comments
var min = 0, sec = 0, session_min = 0, break_min = 0, break_sec = 0, sessionId = 0, sId = null, bId = null, mode = null, paused = false;

const startBtn = document.getElementById('start');
const pauseBtn = document.getElementById('pause');
const resetBtn = document.getElementById('reset');
const sessionTime = document.getElementById('sessionTime');
const breakTime = document.getElementById('breakTime');
const session = document.getElementById('session');